<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <style>
    .onclick {
      color: red;
    }

    .offclick {
      color: blue;
    }
  </style>
</head>

<body>
  <div id="app">
    <ul>
      <li v-for="(movie, index) in movies">
        <a href="#" v-on:click="" :class=''>
          {{index+1}} - {{movie}}
        </a>
      </li>
    </ul>
  </div>

  <script src="../js/vue.js"></script>
  <script>
    const app = new Vue({
      el: '#app',
      data: {
        movies: ['HW', 'HEXD', 'HYRZ', "JJDJR"],
      },
      methods: {
      }
    })
  </script>

</body>

</html>